package com.techstar.api.pojo.bus;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.common.jackson.StrDateHourDeserializer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @author EinIce
 * @description 当年日均小时充电趋势
 * @date 2021年9月27日
 */

@Getter
@Setter
@Entity
@ToString
@Table(name = "daily_hour_charge_trend")
@org.hibernate.annotations.Table(appliesTo = "daily_hour_charge_trend",comment="pbtp-2-当年日均小时充电趋势")
public class DailyHourChargeTrend {
	@Column(columnDefinition="varchar(100) COMMENT '充电次数'")
	private String avgChargeNum;
	@Column(columnDefinition="varchar(100) COMMENT '充电量'")
	private String avgChargeCapacity;
	@Id
	@Column(columnDefinition="varchar(100) COMMENT '业务更新时间'")
	@JsonDeserialize(using = StrDateHourDeserializer.class)
	private String createTime;
}

